<!doctype html>
<html>
	<head>
		<title> test moment </title>
		<style>
		</style>
	</head>

	<body>
	</body>
</html>
<script src="http://cdn.bootcss.com/moment.js/2.8.4/moment.min.js"></script>
<script src="http://cdn.bootcss.com/underscore.js/1.7.0/underscore-min.js"></script>

<script type="text/javascript">
		var dd = new Date();
		var thisWeek = moment().add(-dd.getDay(), 'days');
		alert(thisWeek);
</script>